package com.bw.message.net

import com.bw.http.utils.zgr.HttpsRetrofit
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import retrofit2.Retrofit
import javax.inject.Singleton

/**
 * Author :
 * Created by lhy on 2025/5/8.
 * Description:
 */

@Module
@InstallIn(SingletonComponent::class)
class MessageApiModule {

    @Provides
    @Singleton
    fun provideMessageApiService(@HttpsRetrofit retrofit: Retrofit):ApiService{
        return retrofit.create(ApiService::class.java)
    }
}